package com.itheima.extendstest;

public class Cook extends Employ{
    public Cook() {
    }

    public Cook(String name, String workNumber, String salary) {
        super(name, workNumber, salary);
    }


    @Override
    public void work() {
        System.out.println("炒菜");
    }
}
